package com.study.ojcodesandbox;

import com.study.ojcodesandbox.model.ExecuteCodeRequest;
import com.study.ojcodesandbox.model.ExecuteCodeResponse;

/**
 * 判题机
 */
public interface CodeSandbox {

    /**
     * 执行代码
     *
     * @param executeCodeRequest
     * @return
     */
    ExecuteCodeResponse executeCode(ExecuteCodeRequest executeCodeRequest) throws InterruptedException;
}
